<?php
header("Content-Type:text/html;charset=utf-8");
define('IN_QY',true);
session_start();
require("include/common.inc.php");

$pcode = $_POST["pcode"];
$arr = array();
$sql = "select * from tbl_specifa where pid=".$pcode;
$query = mysql_query($sql);
while ($row=mysql_fetch_array($query)) {
    $arr[] = $row;
}
echo json_encode($arr, JSON_UNESCAPED_UNICODE);
